#include <stdio.h>
#include "TwoWayList.cc"

class MyClass
{
public:
    int data;

    MyClass ( ) { }

    MyClass ( int d )
	{
	    data = d;
	}

    void Swap ( MyClass & other )
	{
	    other.data = data;
	    printf("Called swap.\n");
	}
};

int
main ( int argc , char * * argv )
{
    TwoWayList < MyClass > myList;

    MyClass o1 ( 1 );
    MyClass o2 ( 2 );

    MyClass *pointer = NULL;

    myList . Insert ( o1 );
    myList . Remove ( *pointer );
}
